package com.lhb.service;

import com.lhb.pojo.BaseResp;
import com.lhb.pojo.TbRole;
import com.lhb.pojo.rep.RolePermissionReq;

/**
 * @author LiangHaiBo
 * @version 1.0
 * @date 2021.10.13 下午 17:05
 */
public interface RoleService {
    BaseResp findAll(Integer page, Integer limit);

    BaseResp insertRole(TbRole tbRole);

    void deleteById(Integer id);

    BaseResp updatePermission(RolePermissionReq req);

    BaseResp findByUser(Integer userid);
}
